﻿<%@ Page Language="C#"  Inherits="WebSys.UI.Control.ZhengShou.OfficeFlow.CaiQianKunNanHu" %>

<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Themes/Default/Styles/basic.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function CheckOne(p) {
            var chk = document.getElementsByTagName("input");
            var flag = false;
            if (chk.length > 0) {
                for (var i = 0; i < chk.length; i++) {
                    if (chk[i].checked == true) {
                        flag = true;
                        chk[i].checked = false;
                    }
                }
            }
            if (flag) {
                p.checked = true;
            }
            else {
                p.checked = false;
            }
        }

        function addfamily(id) {
            var obj = document.getElementById('txtID').value;
            var hzid = "<%=GetHZID() %>";
            if (obj != null && obj != '') {
                var url = 'ZS_AddFamily.aspx?sqtype=1&tablename=&ID=&HZID='+hzid+'&SID=' + obj + '&action=' + action + '&rd=' + Math.random();
                window.open(url, '', 'height=520, width=750, toolbar =no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no, titlebar=no');
            }
        }

        function RefreshForm() {
            var objBtn = document.getElementById("Refresh");
            objBtn.click();
        }

        function nonetr1() {
            document.getElementById("tr1").style.display = "none";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Panel runat="server" ID="panel1">
    <div>
        <center>
            <table style="text-align: center; width: 95%; height: 20px; font-size: 12px" border="0px"
                cellpadding="0px" cellspacing="0px" class="window_tab_list">
                <tr>
                    <th colspan="8">
                        <strong><span style="font-size: 11pt; color: #003300">浦口区被拆迁住房困难户购买经济适用住房申请表</span></strong>
                    </th>
                </tr>
                <tr>
                    <td colspan="4" style=" text-align:left;">
                    <asp:TextBox runat="server" Width="100px"></asp:TextBox>街道
                    <asp:TextBox runat="server" Width="100px"></asp:TextBox>社区                    
                    </td>
                    <td colspan="4" style=" text-align:right;">
                        编号：<asp:TextBox runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>申请人姓名</td>
                    <td>
                        <asp:TextBox runat="server" Width="80px"></asp:TextBox>
                    </td>
                    <td>性别</td>
                    <td>
                        <asp:TextBox runat="server" Width="60px"></asp:TextBox>
                    </td>
                    <td>工作单位</td>
                    <td colspan="3">
                        <asp:TextBox runat="server" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>身份证号码</td>
                    <td colspan="2">
                         <asp:TextBox runat="server" Width="220px"></asp:TextBox>
                    </td>
                    <td>职称</td>
                    <td>
                        <asp:TextBox runat="server" Width="80px"></asp:TextBox>
                    </td>
                    <td>联系电话</td>
                    <td colspan="2">
                        <asp:TextBox runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>配偶姓名</td>
                    <td>    
                        <asp:TextBox runat="server" Width="80px"></asp:TextBox>
                    </td>
                    <td>工作单位</td>
                    <td colspan="2">
                        <asp:TextBox runat="server" Width="200px"></asp:TextBox>
                    </td>
                    <td>身份证号码</td>
                    <td colspan="2">
                        <asp:TextBox runat="server" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>家庭年收入</td>
                    <td>
                        <asp:TextBox runat="server" Width="60px"></asp:TextBox>元
                    </td>
                    <td>家庭人口</td>
                    <td>
                        <asp:TextBox runat="server" Width="60px"></asp:TextBox>
                    </td>
                    <td>人均年收入</td>
                    <td>
                        <asp:TextBox runat="server" Width="60px"></asp:TextBox>元
                    </td>
                    <td>人均月收入</td>
                    <td>
                        <asp:TextBox runat="server" Width="60px"></asp:TextBox>元
                    </td>
                </tr>
                <tr>
                    <td>原住房地址</td>
                    <td colspan="3">
                        <asp:TextBox runat="server" Width="300"></asp:TextBox>
                    </td>
                    <td>使用面积</td>
                    <td>
                        <asp:TextBox runat="server" Width="60"></asp:TextBox>㎡
                    </td>
                    <td>房屋性质</td>
                    <td>
                        <asp:DropDownList runat="server"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>拆迁时间</td>
                    <td colspan="2">
                        <CBW:MPCalendar  runat="server"/>
                    </td>
                    <td colspan="2">拆迁补偿金额</td>
                    <td colspan="3">
                        <asp:TextBox runat="server" Width="160"></asp:TextBox>元
                    </td>
                </tr>
                <tr>
                    <td>他处住房地址</td>
                    <td colspan="3">
                        <asp:TextBox runat="server" Width="280"></asp:TextBox>
                    </td>
                    <td>使用面积</td>
                    <td>
                        <asp:TextBox runat="server" Width="60"></asp:TextBox>㎡
                    </td>
                    <td>房屋性质</td>
                    <td>
                        <asp:DropDownList runat="server"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>人均使用面积</td>
                    <td colspan="2">
                        <asp:TextBox runat="server" ></asp:TextBox>
                    </td>
                    <td>家庭人口数</td>
                    <td colspan="4">
                      <asp:CheckBox ID="c1"  runat="server" Text="一人户" onclick="CheckOne(this)"/>、<asp:CheckBox ID="c2"  runat="server" Text="二人户" onclick="CheckOne(this)"/>、
                      <asp:CheckBox  ID="c3" runat="server" Text ="三人户" onclick="CheckOne(this)"/>、<asp:CheckBox  ID="cn" runat="server" Text="多人户" onclick="CheckOne(this)"/>
                    </td>
                </tr>
                <tr id="tr1">
                    <td><br />
                    同一<br />
                    户籍<br />
                    家庭<br />
                    成员<br />
                    情况<br /><br />
                    </td>
                    <td colspan="7">
                            <span id="span1" style="cursor: pointer; color: #223399;" onclick="addfamily('')">新增人员</span>
                    <CBW:CustomGridView ID="GridView1" runat="server" CssClass="gridtable"
                                    ShowCmpAndCancel="False" AutoGenerateColumns="False" ShowItemNumber="True" HideTextLength="18"
                                    AllowOnMouseOverEvent="True" EmptyDataText="暂没有家庭成员，请点击新增人员" EmptyDataRowStyle-HorizontalAlign="Center" 
                                    ShowHideColModel="None" DataKeyNames="ID" EmptyDataRowStyle-ForeColor="Red" 
                                    Width="100%" AutoGenerateDeleteConfirm="True">
                                    <Columns>
                                        <asp:BoundField DataField="关系" HeaderText="关系" />
                                        <asp:BoundField DataField="姓名" HeaderText="姓名" />
                                        <asp:BoundField DataField="性别" HeaderText="性别" />
                                        <asp:BoundField DataField="证件类型" HeaderText="证件类型" />
                                        <asp:BoundField DataField="证件号码" HeaderText="身份证号码" />
                                        <asp:BoundField DataField="IS_ZFBZ" HeaderText="享受保障" />
                                        <asp:BoundField DataField="IS_NOTICEPERSON" HeaderText="通知书成员" />
                                        <asp:TemplateField HeaderText="操作">
                                            <ItemTemplate>
                                                <span style="cursor:pointer; color:#223399" onclick="addfamily('<%#Eval("ID") %>')">
                                                    <asp:Label ID="Label1" runat="server" Text="编辑"></asp:Label>
                                                </span>
                                               <asp:HyperLink Text="删除" runat="server" ID="hldel"></asp:HyperLink>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </CBW:CustomGridView>
                    </td>
                </tr>
                <tr>
                    <td><br />申购人<br />承诺<br /><br /></td>
                    <td colspan="7">
                       本人保证所提供的家庭成员基本情况、住房、家庭收入等真实无误，如隐瞒、虚<br />报、谎报有关情况，本人愿意承担由此产生的一切法律责任。
                    </td>
                </tr>
                <tr>
                    <td ><br />备注<br /><br /></td>
                    <td  colspan="7">
                        <asp:TextBox runat="server" TextMode="MultiLine" Width="650"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th colspan="8">
                        <strong><span style="font-size: 11pt; color: #003300">审批意见</span></strong>
                    </th>
                </tr>
                <tr>
                    <td><br />单<br />位<br />或<br />街<br />道<br />意<br />见<br /><br /></td>
                    <td colspan="7"  style="text-align:left;">                          
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;申请人所填报的家庭成员、家庭收入、住房等情况属实，
                        被拆迁房屋货币补偿金额为<asp:TextBox runat="server"></asp:TextBox>元，家庭人均年收入为<asp:TextBox runat="server"></asp:TextBox>元，无其他住房。<br />                        
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;特此说明。</p>
                        <br />
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 社区&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;单位或街道办事处<br />
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        经办人：<asp:TextBox runat="server"></asp:TextBox><CBW:MPCalendar  runat="server"/>&nbsp;&nbsp;&nbsp;&nbsp;经办人：<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox><CBW:MPCalendar ID="MPCalendar1"  runat="server"/><br /><br>
                       &nbsp;&nbsp;&nbsp;&nbsp; (无工作单位的由社区、街道办事处提供)
                    </td>
                </tr>
                <tr>
                    <td>征<br />收<br />单<br />位<br />意<br />见<br /></td>
                   <td colspan="7" style="text-align:left;">
                              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;该户坐落于<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>的房屋，根据浦政征字【<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>】年第（<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>）号，
                              于<asp:TextBox runat="server"></asp:TextBox>年<asp:TextBox runat="server"></asp:TextBox>月<asp:TextBox runat="server"></asp:TextBox>日被拆迁，征收补偿金额为
                              <asp:TextBox runat="server"></asp:TextBox>元。<br />
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 经办人：<asp:TextBox runat="server"></asp:TextBox><br />
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             时间：<CBW:MPCalendar  runat="server"/>
                   </td>
                </tr>
                <tr>
                    <td>区<br />房<br />改<br />办<br />审<br />核<br />意<br />见<br /></td>
                    <td colspan="7" style="text-align:left;">
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经审核，该家庭所填报情况属实，符合申请条件，同意购买经济适用住房。
                         <br /><br /><br /><br />
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经办人：<asp:TextBox runat="server"></asp:TextBox><br />
                           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             时间：<CBW:MPCalendar  runat="server"/>
                    </td>
                </tr>
                <tr>
                    <td><br />备<br /><br />注<br /><br /></td>
                    <td colspan="7">
                        <asp:TextBox runat="server" TextMode="MultiLine" Width="680"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="8"><asp:Button  runat="server" Text="保存"/></td>
                </tr>
            </table>
        </center>
    </div>
    <CBW:MPPersistence ID="PersistenceControl1" runat="server">
                </CBW:MPPersistence>
    <div style=" display:none;">
        <asp:Button  runat="server" ID="Refresh"/>
        <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
    </div>
    </asp:Panel>
    </form>
</body>
</html>
